.device-card {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-color: var(--color-bg-2);
  display: flex;
  flex-direction: row;
  margin: -8px;

  & > img {
    width: 40%;
    height: auto;
    object-fit: cover;
  }

  & > div {
    flex-grow: 1;
    height: 100%;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 1rem;

    & div {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      margin-bottom: 5px;
    }

    & div:nth-child(1) {
      font-size: 1rem;
      font-weight: bold;
    }

    & div:nth-child(2) {
      font-size: 0.8rem;
      color: grey;
    }

    & div:nth-child(3) {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;

      & > div:first-child {
        display: inline-block;
        justify-content: center;
        align-items: center;
        width: 0.9rem;
        height: 0.9rem;
        border-radius: 50%;
      }

      & > div:last-child {
        justify-content: center;
        align-items: center;
        margin-left: 5px;
      }
    }
  }
}

.device_running_state {
  display: inline;
  justify-content: center;
  align-items: center;
  width: 1.2rem;
  height: 1.2rem;
  color: red;
  border-radius: 50%;
  margin-right: 5px;
}
